function add_shoppingcar(input) {
	var th_row = input.parentElement.parentElement;
	var firstname = th_row.firstElementChild;
	var price = firstname.nextElementSibling;
	var tr = document.createElement("tr");
	var shopping_car = document.getElementById("shopping_car");
	tr.innerHTML="<td>"+firstname.innerHTML+"</td>"+
				"<td>"+price.innerHTML+"</td>"+
				"<td align='center'>"+
					"<input type='button' value='-' onclick='countNumjian(this);' />"+
					"<input type='text' id='num' size='1' readonly='readonly' value='1'/>"+
					"<input type='button' value='+' onclick='countNumjia(this);' />"+
				"</td>"+
				"<td>"+price.innerHTML+"</td>"+
				"<td align='center'>"+
					"<input type='button' value='X' onclick='remove(this);'/>"+
				"</td>";
	shopping_car.append(tr);
	total();
}

